<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 
<head> 
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<!--{if (isset($redirecturl))}--><meta http-equiv="refresh" content="3; url={$redirecturl}" /><!--{/if}-->
	<title>{$contestname}</title> 
	<link rel="stylesheet" type="text/css" href="templates/common.css" />
	<script type="text/javascript" language="javascript" src="./templates/js/jquery-1.4.min.js"></script>
	<script type="text/javascript" language="javascript" src="./templates/js/common.js"></script>
</head> 
 
<body> 
	<div>
		<div class="header w960">
			<h1>{$contestname} (UID: {$uid})</h1>
			<!--{if ($uid)}-->
				<!--{if ($nickname)}-->{lang text nickname}<!--{else}-->{lang text username}<!--{/if}-->: 
				<!--{if ($nickname)}-->{$nickname}<!--{else}-->{$username}<!--{/if}-->  
				({lang text usergroup}: {$adminlevel[$adminid]})
			<!--{else}-->
				{lang not_logged_in_notice}
			<!--{/if}-->
			<br /><br />
		</div>
		
		<div class="navigator" style="width: 100%">
			<div class="w960">
			<!--navigation-->
			<a href="index.php"><span>{lang link homepage}</span></a><!--{if ($uid)}--><a href="usercp.php"><span>{lang link usercp}</span></a><!--{/if}--><!--{if (($sys_uid && $started) || $adminid == 1)}--><a href="question.php"><span>{lang link question}</span></a><!--{/if}--><!--{if ($sys_uid)}--><a href="login.php?action=exit"><span>{lang link logout}</span></a><!--{else}--><a href="login.php"><span>{lang link login}</span></a><a href="register.php"><span>{lang link register}</span></a><!--{/if}--><!--{if ($adminid == 1)}--><a href="admin.php"><span>{lang link admin}</span></a><!--{/if}--><!--{if ($adminid == 1 || $ended)}--><a href="rank.php"><span>{lang link rank}</span></a><!--{/if}-->
			<!--navigation-->
			</div>
		</div>